home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2000 February
/
PCWorld_2000-02_cd.bin
/
Software
/
Vyzkuste
/
xsetup
/
_SETUP.2
/
Group3
/
XQ MGA PowerDesk 1.xpl
< prev
next >
Wrap
Text File
|
1999-09-22
|
1KB
|
56 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0"
"TYPE"="7"
"COUNT"="2"
"UIPATH"="Hardware\Video Cards\Matrox"
"NAME"="PowerDesk VSync"
"VERSION"="1.05"
"LANGUAGE"="VBScript"
"TEXT 1"="Enable VSync (better image quality)"
"TEXT 2"="Disable VSync (better performance)"
"DESCRIPTION 1"="Some settings for your Matrox G200 card (incl. Millennium and Mystique)."
"DESCRIPTION 2"="NOTE: This plug-in requires that Matrox PowerDesk is installed."
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
"COMMENT 2"="Thanks to CptSiskoX!"
sP1="HKLM\SOFTWARE\Matrox\PowerDesk\Current Settings\"
sV1="HKLM\SOFTWARE\Matrox\PowerDesk\Current Settings\Flip on VBlank" 'STR
Sub Plugin_Initialize
if RegPathExists(sP1) then
i=RegReadValue(sV1)
if i="1" then
SetUiElement 1,true
else
SetUiElement 2,true
end if
else
Call Disable()
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
if GetUIElement(1)=true then
i=1
else
i=0
end if
Call RegWriteValue(sV1,i,1)
Call Restart()
End Sub
Sub Plugin_Terminate
End Sub